package com.woniu.supermarket.vo;

import com.woniu.supermarket.entity.Category;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(description = "封装查询的数据")
@Data
public class CategoryVo {
    @ApiModelProperty(value = "类别id")
    private Integer id;
    @ApiModelProperty(value = "类别编码")
    private String categoryCode;
    @ApiModelProperty(value = "类别名称")
    private String type;
    @ApiModelProperty(value = "父类id")
    private Category parentCategory;

}
